package com.day12_Thread;

/**
 * @ClassName: SellTicketDemo
 * @Author: zw
 * @Description: 出百万拳，行万里路；
 * @Create 2024/3/23-21:29
 * @Version 1.0
 */
public class SellTicketDemo {
    public static void main(String[] args) {
        SellTicket sellTicket = new SellTicket();
        Thread thread1 = new Thread(sellTicket, "窗口1");
        Thread thread2 = new Thread(sellTicket, "窗口2");
        Thread thread3 = new Thread(sellTicket, "窗口3");
        //start
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
